package org.cx.oa.entity;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * AbstractRightGroups entity provides the base persistence definition of the
 * RightGroups entity. @author MyEclipse Persistence Tools
 */

public class RightGroups implements java.io.Serializable {

	// Fields

	private Integer rightGroupsId;
	private String rightContext;
	private String rights;
	private Set employees = new HashSet(0);
	private List<Righte> rightes=new ArrayList<Righte>();

	// Constructors

	/** default constructor */
	public RightGroups() {
	}

	/** minimal constructor */
	public RightGroups(String rightContext, String rights) {
		this.rightContext = rightContext;
		this.rights = rights;
	}

	/** full constructor */
	public RightGroups(String rightContext, String rights, Set employees) {
		this.rightContext = rightContext;
		this.rights = rights;
		this.employees = employees;
	}

	// Property accessors

	public Integer getRightGroupsId() {
		return this.rightGroupsId;
	}

	public void setRightGroupsId(Integer rightGroupsId) {
		this.rightGroupsId = rightGroupsId;
	}

	public String getRightContext() {
		return this.rightContext;
	}

	public void setRightContext(String rightContext) {
		this.rightContext = rightContext;
	}

	public String getRights() {
		return this.rights;
	}

	public void setRights(String rights) {
		this.rights = rights;
	}

	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

	/**
	 * @return the rightes
	 */
	public List<Righte> getRightes() {
		return rightes;
	}

	/**
	 * @param rightes the rightes to set
	 */
	public void setRightes(List<Righte> rightes) {
		this.rightes = rightes;
	}

}